#ifndef LEVELEXITTRIGGER_H
#define LEVELEXITTRIGGER_H

#include "BaseTrigger.h"

/*
*/
class LevelExitTrigger : public BaseTrigger
{
    public:
        LevelExitTrigger(const Vector2df p, const Vector2df s);
        LevelExitTrigger(const Vector2df p, const Vector2df s, CRstring levelFileName);
        virtual ~LevelExitTrigger();

        virtual void hit(const SimpleDirection dir, BaseUnit* player, CRstring parameter="");
        virtual void setState(){};

    protected:
    	string levelFileName;
        void customUpdate();
    private:
};

#endif // LEVELEXITTRIGGER_H
